package com.yunpeng.aidevice.common.dto.save;

import java.io.Serializable;
import java.util.List;

/**
 * NoticeUserSaveDTO 提醒用户新增对象
 *
 * @author : Moore(hemw)
 * @date : 2020-04-28
 */
public class NoticeUserSaveDTO implements Serializable {

    /**
     * 用户代码
     */
    private String userCode;

    /**
     * 设备代码
     */
    private String deviceCode;

    /**
     * 手机短信报警
     */
    private Boolean phoneMsg;

    /**
     * 邮箱报警
     */
    private Boolean email;

    /**
     * 规则代码集合
     */
    private List<String> scripts;


    /**
     * 商户代码
     */
    private String merchantCode;

    /**
     * 租户代码
     */
    private String tenantCode;


    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public Boolean getPhoneMsg() {
        return phoneMsg;
    }

    public void setPhoneMsg(Boolean phoneMsg) {
        this.phoneMsg = phoneMsg;
    }

    public Boolean getEmail() {
        return email;
    }

    public void setEmail(Boolean email) {
        this.email = email;
    }

    public List<String> getScripts() {
        return scripts;
    }

    public void setScripts(List<String> scripts) {
        this.scripts = scripts;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    @Override
    public String toString() {
        return "NoticeUserSaveDTO{" +
                "userCode='" + userCode + '\'' +
                ", deviceCode='" + deviceCode + '\'' +
                ", phoneMsg=" + phoneMsg +
                ", email=" + email +
                ", scripts=" + scripts +
                ", merchantCode='" + merchantCode + '\'' +
                ", tenantCode='" + tenantCode + '\'' +
                '}';
    }
}
